﻿@using BLL;
@using Microsoft.AspNetCore.Builder;
@using Microsoft.Extensions.Caching.Distributed;
@using Model;
@using TiboShop.Controllers;
@using TiboShop.ViewComponents;

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>TiboShop</title>
    <style>
        *{
            margin:0px;
            padding:0px;
            text-align:center;
        }
        .head{
            width:1460px;
            height:112px;
            background-color: #ec2727;
        }
        .RightContainer{
            width:220px;
            height:650px;
            background-color: #4b21a0;
        }
        .LeftContainer{
            width: 1235px;
            height:650px;

        }
        .leftfloat{
            float:left;
        }
        .rightfloat{
            float:right;
        }
        .clearfloat::after{
            clear: both;
            content: '';
            display:block;
        }

    </style>
</head>
@await Component.InvokeAsync("MessageBox", new { model = ViewBag.SystemMessageBoxInfo == null ? null : ViewBag.SystemMessageBoxInfo as MessageBoxVO })  
<body>
    <div class="OutContainer clearfloat">
        <div class="head">
        @await Component.InvokeAsync("Head")
        </div>
        @await Component.InvokeAsync("Menu")
        <div class="RightContainer leftfloat">
        </div>
        <div class="LeftContainer leftfloat">
            @RenderBody()
        </div>
    </div>
    
</body>
</html>